package cn.sunxyz.aop.aspect;

/**
 * 提供环绕通知功能 => 通过链式调用
 * Created by yangrd on 2017/5/25.
 */
@FunctionalInterface
public interface InvocationHandler extends Aspect {
    Object handlerInvocation(Invocation invocation) throws Throwable;

    default void setHandler(InvocationHandler handler) {
    }

}
